package org.example.vueadminapi2.service;

import org.example.vueadminapi2.entity.User;

public interface UserService {
    /**
     * 登录
     * @param user 用户信息
     * @return
     */
    User login(User user);

//    User getUserByToken(String token);
    User GetUserByToken(User user);

    User GetUserByToken(String token);
}
